﻿@model AirLine.WebApp.Models.LoginModel

@{
    ViewBag.Title = "Log in";
}
<div class="wrapper pad1" >
    <article class="col1">
	    <div class="box1">           
		   <ul class="nav nav-list">
                <li class="nav-header">List header</li>
                <li class="active"><a href="home">Home</a></li>
                <li><a href="library">Library</a></li>
                <li><a href="#">Applications</a></li>
                <li class="nav-header">Another list header</li>
                <li><a href="#">Profile</a></li>
                <li><a href="#">Settings</a></li>
                <li class="divider"></li>
                <li><a href="#">Help</a></li>
              </ul> 
		</div>
	</article>
    <article class="col2">
        <hgroup class="title">
            <p><b>@ViewBag.Title</b></p>
        </hgroup>
        <section>
        @using (Html.BeginForm(new { ReturnUrl = ViewBag.ReturnUrl })) {
            @Html.AntiForgeryToken()
            @Html.ValidationSummary(true)

            <fieldset>
                <legend>Log in Form</legend>
                <ol>
                    <li>
                        @Html.LabelFor(m => m.UserName)
                        @Html.TextBoxFor(m => m.UserName)
                        @Html.ValidationMessageFor(m => m.UserName)
                    </li>
                    <li>
                        @Html.LabelFor(m => m.Password)
                        @Html.PasswordFor(m => m.Password)
                        @Html.ValidationMessageFor(m => m.Password)
                    </li>
                    <li>
                        @Html.CheckBoxFor(m => m.RememberMe)
                        @Html.LabelFor(m => m.RememberMe, new { @class = "checkbox" })
                    </li>
                </ol>
                <input class="button1 submit_button" type="submit" value="Log in" />
            </fieldset>
            <p style="font-size: 150%; margin-top: 20px;">
                @Html.ActionLink("Register", "Register") if you don't have an account.
            </p>
        }
        </section>
    </article> 
</div>
@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
